  const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  name: {
    type: String
  }
})

// schema.virtual('blog', {
//   localField: '_id',
//   foreignField: 'tag',
//   justOne: false,
//   ref: 'blog'
// })

module.exports = mongoose.model('Tag', schema)